using System;
using Common;

namespace Repository.sugar
{
    public class BaseDbConfig
    {
        //正常格式，因ioc注入不能使用
        //public static string ConnString = "server=.;uid=sa;pwd=sa;database=AppsDB_new";

        //ioc注入使用
        private static string _connString = Appsettings.app(new string[] { "AppSettings", "SqlServer", "SqlServerConnection" });

        public static string ConnString { get => _connString; set => _connString = value; }

    }
}
